package com.hust.edu.cn.service;

import com.hust.edu.cn.entity.Order;

public interface OrderService {

    Order createOrder(int userId, int itemId, int amount, Integer promotionId, String itemStockLogId);

    void createOrderAsync(int userId, int itemId, int amount, Integer promotionId);

}
